﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Aliyeye.Car.Net.UI.SystemModel;
using Aliyeye.Car.Net.UI.AdminCustomer;
using Aliyeye.Car.Net.UI.SystemHelp;
using Aliyeye.Car.Net.UI.Common;

namespace Aliyeye.Car.Net.UI.SystemAdmin
{
    public partial class SystemAdminMain : BgForm
    {
        public SystemAdminMain()
        {
            InitializeComponent();
        }
        //角色管理
        private void menuBlueLargeButton1_Click(object sender, EventArgs e)
        {
            Aliyeye.Car.Net.UI.SystemModel.Role role = new Aliyeye.Car.Net.UI.SystemModel.Role();
            role.ShowDialog();
        }
        //公司信息
        private void menuBlueLargeButton15_Click(object sender, EventArgs e)
        {
            Aliyeye.Car.Net.UI.SystemModel.Company role = new Aliyeye.Car.Net.UI.SystemModel.Company();
            role.ShowDialog();
        }
        //分店部门设置
        private void menuBlueLargeButton13_Click(object sender, EventArgs e)
        {
            Department depart = new Department();
            depart.ShowDialog();
        }
        //小档案管理
        private void menuBlueLargeButton3_Click(object sender, EventArgs e)
        {
            Archives arch = new Archives();
            arch.ShowDialog();
        }
        //账户密码设定
        private void menuBlueLargeButton17_Click(object sender, EventArgs e)
        {
            UserPass pass = new UserPass();
            pass.ShowDialog();
        }
        //修改密码
        private void menuBlueLargeButton16_Click(object sender, EventArgs e)
        {
            Aliyeye.Car.Net.UI.SystemHelp.MakePass pass = new Aliyeye.Car.Net.UI.SystemHelp.MakePass();
            pass.ShowDialog();
        }
        //权限管理
        private void menuBlueLargeButton2_Click(object sender, EventArgs e)
        {
            Permissions per = new Permissions();
            per.ShowDialog();
        }

        //提醒设置
        private void menuBlueLargeButton14_Click(object sender, EventArgs e)
        {
            if (Login.IsTestUser)
            {
                PageCommon.Alert(Login.TestUserMessage);
                return;
            }
            Remind per = new Remind();
            per.ShowDialog();
        }

        //提醒清单
        private void menuBlueLargeButton4_Click(object sender, EventArgs e)
        {
            RemindList per = new RemindList();
            per.ShowDialog();
        }

        private void menuBlueLargeButton5_Click(object sender, EventArgs e)
        {
            PointsRate pointFrom = new PointsRate();
            pointFrom.ShowDialog();
        }


    }
}
